package com.zheng.hr.rpc.api;

import com.zheng.hr.dao.model.HrResume;
import com.zheng.common.base.BaseService;
import com.zheng.hr.dao.model.HrResumeExperience;
import com.zheng.oa.common.constant.enums.OaStatus;
import com.zheng.oa.common.exception.OaException;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * hr_resume 简历库 服务类
 * </p>
 *
 * @author likun
 * @since 2018-01-08
 */
public interface HrResumeService extends BaseService<HrResume> {
    boolean insetResume(HrResume resume, List<HrResumeExperience> resumeExperiences) throws OaException;

    boolean updateResume(HrResume resume, List<HrResumeExperience> resumeExperiences) throws OaException;

    List<Map<String, Object>> selectResumePage(HrResume resume);

    Integer selectResumePageCount(HrResume resume);
}
